export default {
  state: {
    perms: ['sys:user:edit',,'sys:user:add'],
    datas: {},
    userManageTableHead: [
      // {
      //   value: 'id',
      //   label: '序号'
      // },
      {
        value: 'username',
        label: '用户名'
      },
      {
        value: 'phone',
        label: '手机号'
      },
      {
        value: 'sex',
        label: '性别'
      },
      {
        value: 'enable',
        label: '状态'
      },
      {
        value: 'createTime',
        label: '注册时间'
      },
      {
        value: 'updateTime',
        label: '更改时间'
      },
      {
        value: 'email',
        label: '邮箱'
      },
      {
        value: 'address',
        label: '地址'
      }
    ]
  },
  getters: {

  },
  mutations: {
    setPerms(state, perms) {
      state.perms = perms
    },
    setDatas(state, datas) {
      state.datas = datas
    }
  },
  actions: {

  }
}